The New York State Assembly was set to finish up its work for the year on Wednesday, one day after approving legislation banning noncompete labor agreements and offering legal protection to New York doctors who provide abortion medication to out-of-state patients.